using AutoMapper;

namespace Joy.Erp.BasicArchives.Customers
{
    public class CustomerAutoMapperProfile : Profile
    {
        public CustomerAutoMapperProfile()
        {
            CreateMap<Customer, CustomerDto>().MapExtraProperties().ReverseMap();
            CreateMap<Customer, CustomerCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<Customer, CustomerUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
} 